package net.dgg.rz.production.entity;

import net.dgg.rz.common.base.entity.BaseEntity;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
* <p>@Title 生产节点表（rzsc_product_node）</p>
* <p>@Description 类功能描述</p>
* <p>@Version 1.0.0 版本号</p>
* <p>@author zyou</p>
* <p>@date 2018-12-14 14:45:04 创建日期</p>
* <p>Copyright © dgg group.All Rights Reserved. 版权信息</p>
*/
public class ProductNode extends BaseEntity {

    //节点名字
    private String name;
    //自然日or工作日(1:工作日；2：自然日)
    private Integer isNaturalorWorkday;
    //办理周期
    private Integer handleDate;
    //关联字段ids
    private String relationFieldIds;
    //关联字段
    private String relationField;
    //是否扣罚
    private Integer isPunish;
    //扣罚方案ID
    private Long punishId;
    //扣罚方案名称
    private String punishName;
    //是否预警
    private Integer isWarning;
    //是否关键节点
    private Integer isKey;
    //排序
    private Integer sort;
    //流程id
    private Long processId;
    //状态(1;启用，2：禁用)
    private Integer flag;
    //版本号
    private Long version;
    /**
     * 佣金类型
     */
    private String commission;
    /**
     * 佣金金额
     */
    private BigDecimal brokerage;

    private List<Map<String,Object>> relationFieldMapList;


    public List<Map<String, Object>> getRelationFieldMapList() {
        return relationFieldMapList;
    }

    public void setRelationFieldMapList(List<Map<String, Object>> relationFieldMapList) {
        this.relationFieldMapList = relationFieldMapList;
    }

    public void setName(String name){
        this.name = name;
    }
    public String getName(){
        return this.name;
    }

    public void setIsNaturalorWorkday(Integer isNaturalorWorkday){
        this.isNaturalorWorkday = isNaturalorWorkday;
    }
    public Integer getIsNaturalorWorkday(){
        return this.isNaturalorWorkday;
    }

    public void setHandleDate(Integer handleDate){
        this.handleDate = handleDate;
    }
    public Integer getHandleDate(){
        return this.handleDate;
    }

    public void setRelationFieldIds(String relationFieldIds){
        this.relationFieldIds = relationFieldIds;
    }
    public String getRelationFieldIds(){
        return this.relationFieldIds;
    }

    public void setRelationField(String relationField){
        this.relationField = relationField;
    }
    public String getRelationField(){
        return this.relationField;
    }

    public void setIsKey(Integer isKey){
        this.isKey = isKey;
    }
    public Integer getIsKey(){
        return this.isKey;
    }

    public void setSort(Integer sort){
        this.sort = sort;
    }
    public Integer getSort(){
        return this.sort;
    }

    public void setProcessId(Long processId){
        this.processId = processId;
    }
    public Long getProcessId(){
        return this.processId;
    }

    public void setFlag(Integer flag){
        this.flag = flag;
    }
    public Integer getFlag(){
        return this.flag;
    }

    public Integer getIsPunish() {
        return isPunish;
    }

    public void setIsPunish(Integer isPunish) {
        this.isPunish = isPunish;
    }

    public Long getPunishId() {
        return punishId;
    }

    public void setPunishId(Long punishId) {
        this.punishId = punishId;
    }

    public String getPunishName() {
        return punishName;
    }

    public void setPunishName(String punishName) {
        this.punishName = punishName;
    }

    public Integer getIsWarning() {
        return isWarning;
    }

    public void setIsWarning(Integer isWarning) {
        this.isWarning = isWarning;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public String getCommission() {
        return commission;
    }

    public void setCommission(String commission) {
        this.commission = commission;
    }

    public BigDecimal getBrokerage() {
        return brokerage;
    }

    public void setBrokerage(BigDecimal brokerage) {
        this.brokerage = brokerage;
    }
}
